<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="js/axios.js"></script>
    <script src="/day3_02/js/vue.js"></script>
</head>
<body>
<div id="app">
    <div v-show="msg">欢迎你{{msg}}</div>
</div>
<script>
    new Vue({
        el:"#app",
        data:{
            msg:''
        },
        mounted(){
            axios.get('http://localhost/day3_02/info/asyc').then(ret=> {
                this.msg=ret.data;
            });
        }
    });
</script>
</body>
</html>